import request from '../common/request/request.js'
const api = {}

//测试地址上线前注销
// const basePath = 'http://127.0.0.1:'
//const basePath = 'http://192.168.2.250:'
//const basePath = 'http://10.89.67.239:'
//正式地址上线前打开

const basePath = ''

// 发起请求
api.register = (url,params,method) => request.globalRequest(`${basePath}`+url,params,method)

export default api
